package com.order.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.order.dao.return_orderlistDao;
import com.order.po.return_orderlist;
import com.order.service.return_orderlistService;
@Service
@Transactional
public class return_orderlistServiceImpl implements return_orderlistService {
	 @Autowired
	   private return_orderlistDao return_orderlistDao;
	@Override
	public List<return_orderlist> getAllreturnorder() {
		// TODO Auto-generated method stub
		return return_orderlistDao.getAllreturnorder();
	}
	@Override
	public void insert_returnorder(return_orderlist g) {
		// TODO Auto-generated method stub
		return_orderlistDao.insert_returnorder(g);
	}
	@Override
	public void delete_returnorder(String r_orderid) {
		// TODO Auto-generated method stub
		return_orderlistDao.delete_returnorder(r_orderid);
	}
	@Override
	public List<return_orderlist> get_returnorderbypar(String parameter, String parameter1, String parameter2) {
		// TODO Auto-generated method stub
		return return_orderlistDao.get_returnorderbypar(parameter, parameter1, parameter2);
	}
	@Override
	public List<return_orderlist> get_returnorderbyuser(String parameter, String parameter1, String parameter2) {
		// TODO Auto-generated method stub
		return return_orderlistDao.get_returnorderbyuser(parameter, parameter1, parameter2);
	}
	@Override
	public void update_rtype(String parameter) {
		// TODO Auto-generated method stub
		return_orderlistDao.update_rtype(parameter);
	}

}
